package com.minshenglife.zanzan.dao.power;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.minshenglife.commons.dal.EntityDao;
import com.minshenglife.commons.dal.MyBatisRepository;
import com.minshenglife.zanzan.entity.Dept;
import com.minshenglife.zanzan.entity.WorkCon;
import com.minshenglife.zanzan.entity.power.WorkConDown;

@Repository
@MyBatisRepository
public interface DownLoadExcelDao extends EntityDao<WorkCon> {
	/**
	 * 获取时间差内的天数
	 * @param map
	 * @return
	 */
	public List<String> getDay(Map<String ,Object> map);
	
	/**
	 * 获取当天的日志
	 * @param day
	 * @return
	 */
	public List<WorkConDown> getUserWork(Map<String ,Object> map);
	/**
	 * 获取管理员的管理区域
	 * @param map
	 * @return
	 */
	public List<Dept> getDept(Map<String ,Object> map);
}
